/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;
using DGZImp.SysEntity;

namespace ATkg.BizAppProject.DomainModels
{
    [Entity(TableCnName = "分厂详情",TableName = "Plan_Summary_Single_Location",DBServer = "ServiceDbContext")]
    public partial class Plan_Summary_Single_Location:ServiceEntity
    {
        /// <summary>
       ///键
       /// </summary>
       [SugarColumn(IsPrimaryKey = true)]
       [Key]
       [Display(Name ="键")]
       [Column(TypeName="bigint")]
       [Required(AllowEmptyStrings=false)]
       public long Id { get; set; }

       /// <summary>
       ///产品代码
       /// </summary>
       [Display(Name ="产品代码")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string ProductId { get; set; }

       /// <summary>
       ///内部代码
       /// </summary>
       [Display(Name ="内部代码")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string ProductIdInside { get; set; }

       /// <summary>
       ///厂区
       /// </summary>
       [Display(Name ="厂区")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Location { get; set; }

       /// <summary>
       ///4周内成品需求数
       /// </summary>
       [Display(Name ="4周内成品需求数")]
       [DisplayFormat(DataFormatString="64,2")]
       [Column(TypeName="decimal")]
       public decimal? RequirementIn4Week { get; set; }

       /// <summary>
       ///5-9周成品需求数
       /// </summary>
       [Display(Name ="5-9周成品需求数")]
       [DisplayFormat(DataFormatString="64,2")]
       [Column(TypeName="decimal")]
       public decimal? RequirementIn5To9Week { get; set; }

       /// <summary>
       ///内部盘点-材料
       /// </summary>
       [Display(Name ="内部盘点-材料")]
       [DisplayFormat(DataFormatString="64,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? InventoryMaterial { get; set; }

       /// <summary>
       ///内部盘点-毛坯
       /// </summary>
       [Display(Name ="内部盘点-毛坯")]
       [DisplayFormat(DataFormatString="64,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? InventoryBlank { get; set; }

       /// <summary>
       ///内部盘点-加工-检验
       /// </summary>
       [Display(Name ="内部盘点-加工-检验")]
       [DisplayFormat(DataFormatString="64,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? InventoryProcessCheck { get; set; }

       /// <summary>
       ///内部盘点-成品
       /// </summary>
       [Display(Name ="内部盘点-成品")]
       [DisplayFormat(DataFormatString="64,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? InventoryFinal { get; set; }

       /// <summary>
       ///分类
       /// </summary>
       [Display(Name ="分类")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Type { get; set; }

       /// <summary>
       ///订单号
       /// </summary>
       [Display(Name ="订单号")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string Order { get; set; }

       /// <summary>
       ///订单数量
       /// </summary>
       [Display(Name ="订单数量")]
       [DisplayFormat(DataFormatString="64,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? OrderCount { get; set; }

       /// <summary>
       ///已交订单
       /// </summary>
       [Display(Name ="已交订单")]
       [DisplayFormat(DataFormatString="64,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? OrderFinish { get; set; }

       /// <summary>
       ///未交订单
       /// </summary>
       [Display(Name ="未交订单")]
       [DisplayFormat(DataFormatString="64,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? OrderUnfinish { get; set; }

       /// <summary>
       ///存货盘点
       /// </summary>
       [Display(Name ="存货盘点")]
       [DisplayFormat(DataFormatString="64,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? InventoryCount { get; set; }

       /// <summary>
       ///34周交付计划
       /// </summary>
       [Display(Name ="34周交付计划")]
       [DisplayFormat(DataFormatString="64,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Plan34Week { get; set; }

       /// <summary>
       ///35周交付计划
       /// </summary>
       [Display(Name ="35周交付计划")]
       [DisplayFormat(DataFormatString="64,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Plan35Week { get; set; }

       /// <summary>
       ///36周交付计划
       /// </summary>
       [Display(Name ="36周交付计划")]
       [DisplayFormat(DataFormatString="64,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Plan36Week { get; set; }

       /// <summary>
       ///37周交付计划
       /// </summary>
       [Display(Name ="37周交付计划")]
       [DisplayFormat(DataFormatString="64,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Plan37Week { get; set; }

       /// <summary>
       ///38周交付计划
       /// </summary>
       [Display(Name ="38周交付计划")]
       [DisplayFormat(DataFormatString="64,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Plan38Week { get; set; }

       /// <summary>
       ///39周交付计划
       /// </summary>
       [Display(Name ="39周交付计划")]
       [DisplayFormat(DataFormatString="64,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Plan39Week { get; set; }

       /// <summary>
       ///40周交付计划
       /// </summary>
       [Display(Name ="40周交付计划")]
       [DisplayFormat(DataFormatString="64,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Plan40Week { get; set; }

       /// <summary>
       ///41周交付计划
       /// </summary>
       [Display(Name ="41周交付计划")]
       [DisplayFormat(DataFormatString="64,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Plan41Week { get; set; }

       /// <summary>
       ///42周交付计划
       /// </summary>
       [Display(Name ="42周交付计划")]
       [DisplayFormat(DataFormatString="64,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Plan42Week { get; set; }

       /// <summary>
       ///43周交付计划
       /// </summary>
       [Display(Name ="43周交付计划")]
       [DisplayFormat(DataFormatString="64,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Plan43Week { get; set; }

       /// <summary>
       ///44周交付计划
       /// </summary>
       [Display(Name ="44周交付计划")]
       [DisplayFormat(DataFormatString="64,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Plan44Week { get; set; }

       /// <summary>
       ///45周交付计划
       /// </summary>
       [Display(Name ="45周交付计划")]
       [DisplayFormat(DataFormatString="64,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Plan45Week { get; set; }

       /// <summary>
       ///46周交付计划
       /// </summary>
       [Display(Name ="46周交付计划")]
       [DisplayFormat(DataFormatString="64,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Plan46Week { get; set; }

       /// <summary>
       ///47周交付计划
       /// </summary>
       [Display(Name ="47周交付计划")]
       [DisplayFormat(DataFormatString="64,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Plan47Week { get; set; }

       /// <summary>
       ///48周交付计划
       /// </summary>
       [Display(Name ="48周交付计划")]
       [DisplayFormat(DataFormatString="64,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Plan48Week { get; set; }

       /// <summary>
       ///49周交付计划
       /// </summary>
       [Display(Name ="49周交付计划")]
       [DisplayFormat(DataFormatString="64,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Plan49Week { get; set; }

       /// <summary>
       ///50周交付计划
       /// </summary>
       [Display(Name ="50周交付计划")]
       [DisplayFormat(DataFormatString="64,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Plan50Week { get; set; }

       /// <summary>
       ///是否有效(0:否,1:是)
       /// </summary>
       [Display(Name ="是否有效(0:否,1:是)")]
       [Column(TypeName="int")]
       [Required(AllowEmptyStrings=false)]
       public int IsValid { get; set; }

       /// <summary>
       ///备注
       /// </summary>
       [Display(Name ="备注")]
       [Column(TypeName="nvarchar(max)")]
       public string Remarks { get; set; }

       /// <summary>
       ///创建人ID
       /// </summary>
       [Display(Name ="创建人ID")]
       [Column(TypeName="bigint")]
       [Required(AllowEmptyStrings=false)]
       public long CreateId { get; set; }

       /// <summary>
       ///创建人名
       /// </summary>
       [Display(Name ="创建人名")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       public string Creator { get; set; }

       /// <summary>
       ///创建时间
       /// </summary>
       [Display(Name ="创建时间")]
       [Column(TypeName="datetime")]
       public DateTime? CreateTime { get; set; }

       /// <summary>
       ///修改人ID
       /// </summary>
       [Display(Name ="修改人ID")]
       [Column(TypeName="bigint")]
       public long? ModifyId { get; set; }

       /// <summary>
       ///修改人名
       /// </summary>
       [Display(Name ="修改人名")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       public string Modifier { get; set; }

       /// <summary>
       ///修改时间
       /// </summary>
       [Display(Name ="修改时间")]
       [Column(TypeName="datetime")]
       public DateTime? ModifyTime { get; set; }

       /// <summary>
       ///51周交付计划
       /// </summary>
       [Display(Name ="51周交付计划")]
       [DisplayFormat(DataFormatString="64,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Plan51Week { get; set; }

       /// <summary>
       ///52周交付计划
       /// </summary>
       [Display(Name ="52周交付计划")]
       [DisplayFormat(DataFormatString="64,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Plan52Week { get; set; }

       /// <summary>
       ///53周交付计划
       /// </summary>
       [Display(Name ="53周交付计划")]
       [DisplayFormat(DataFormatString="64,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Plan53Week { get; set; }

       
    }
}